package mitlab.seg.ner.trie.datrie;

/**
 * 字符映射接口
 */
public interface CharacterMapping {
  int getInitSize();

  int getCharsetSize();

  int zeroId();

  int[] toIdList(String key);

  int[] toIdList(int codePoint);

  String toString(int[] ids);
}
